package com.pan.admin.module.api.dao;

import com.pan.admin.module.api.entity.po.ApiKeyBillPO;
import com.pan.admin.module.api.entity.qo.ApiKeyBillQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 渠道充值记录
 *
 * @author caoxin
 */
@Mapper
public interface ApiKeyBillDao {

    /**
     * 查询渠道充值记录列表
     *
     * @param apiKeyBillQO 渠道充值记录
     * @return 渠道充值记录集合
     */
    List<ApiKeyBillPO> list(ApiKeyBillQO apiKeyBillQO);

    /**
     * 新增渠道充值记录
     *
     * @param apiKeyBillPO 渠道充值记录
     * @return 结果
     */
    int insertApiKeyBill(ApiKeyBillPO apiKeyBillPO);

}
